﻿namespace GreenIsomer.Data.Entities.Ddl {
	using System;
	using System.Xml.Serialization;

	[Serializable]
	public class ExtendedDefinition {

		[NonSerialized]
		private ExtendedTableDefCollection tables;

		[NonSerialized]
		private DefinitionDataCollection data;

		public ExtendedDefinition() {
			tables = new ExtendedTableDefCollection();
			data = new DefinitionDataCollection();
		}

		[XmlElement("Table")]
		public ExtendedTableDefCollection Tables {
			get { return tables; }
		}

		[XmlElement("Data")]
		public DefinitionDataCollection Data {
			get { return data; }
		}

	}
}
